#include <stdio.h>  
#include <stdlib.h>  
#include <string.h>  
#include <unistd.h>  
#include <sys/types.h>  
#include <sys/stat.h>  
#include <fcntl.h>  
#include "md5.h"  
  
int main(int argc, char *argv[])  
{  
    int ret;  
    const char *file_path = "a.txt";  
    char md5_str[32];  
  
    ret = Compute_file_md5(file_path, md5_str);  
    if (0 == ret)  
    {  
        printf("[file - %s] md5 value:\n", file_path);  
        printf("%s\n", md5_str);  
    }  
  
    return 0;  
}  
  